Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 4 - Call Appearances / Call Appearance Reference
Call Appearance Functions / Accepting and Answering an Incoming Call


TELAnswerCall

Answers an incoming call.

pascal TELErr TELAnswerCall (TELCAHandle hTELCA);
hTELCA
A handle to a call appearance structure for the incoming call. You obtain this handle from a telCAAlertingMsg or a telCAOfferMsg message.
function result
A result code.
DESCRIPTION
You can use the TELAnswerCall function to answer a call that is alerting at the telephone terminal. When a call is alerting, your call appearance message handler receives a telCAAlertingMsg message.

You can also use TELAnswerCall to answer a call that is being offered at a telephone terminal. (Your call appearance message handler receives a telCAOfferMsg message when a call is being offered.)

If TELAnswerCall returns noErr, the state of the call appearance changes to telCAActiveState and your call appearance message handler receives a telCAActiveMsg message. At this point, an end-to-end connection exists and communication can take place.

SEE ALSO
Calling the TELAcceptCall function (page 4-29) is also a valid response to a CAOfferMsg message. See the description of the CAOfferMsg message for more information about alternative responses to the message.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help